package ma.mindware.mpm.domain.task;

import java.sql.Date;
import java.sql.Timestamp;

import ma.mindware.mpm.domain.project.Project;
import ma.mindware.mpm.domain.projectmember.ProjectMember;
import ma.mindware.mpm.domain.status.Status;
import jpmapper.core.FOREIGN;
import jpmapper.core.ID;
/**
 * @author pc
 * @version 1.0
 * @created 18-juil.-2012 12:09:23
 */
public class Task {
	@ID
	private long taskID;
	private String name;
	private String description;
	private Timestamp createdDate;
	private Timestamp SPD;
	private Timestamp SRD;
	private Timestamp EPD;
	private Timestamp ERD;
	private long percentComplete;
	private Integer valid;
	
	@FOREIGN
	private Project projectID;
	@FOREIGN
	private Status statusID;
	@FOREIGN
	private ProjectMember projectMemberID;
		
	public Task() {
		super();
	}
	public long getTaskID() {
		return taskID;
	}
	public void setTaskID(long taskID) {
		this.taskID = taskID;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}

	public Timestamp getCreatedDate() {
		return createdDate;
	}
	public void setCreatedDate(Timestamp createdDate) {
		this.createdDate = createdDate;
	}
	public Timestamp getSPD() {
		return SPD;
	}
	public void setSPD(Timestamp sPD) {
		SPD = sPD;
	}
	public Timestamp getSRD() {
		return SRD;
	}
	public void setSRD(Timestamp sRD) {
		SRD = sRD;
	}
	public Timestamp getEPD() {
		return EPD;
	}
	public void setEPD(Timestamp ePD) {
		EPD = ePD;
	}
	public Timestamp getERD() {
		return ERD;
	}
	public void setERD(Timestamp eRD) {
		ERD = eRD;
	}
	public long getPercentComplete() {
		return percentComplete;
	}
	public void setPercentComplete(long percentComplete) {
		this.percentComplete = percentComplete;
	}
	public Integer isValid() {
		return valid;
	}
	public void setValid(Integer valid) {
		this.valid = valid;
	}
	public Project getProjectID() {
		return projectID;
	}
	public void setProjectID(Project projectID) {
		this.projectID = projectID;
	}
	public Status getStatusID() {
		return statusID;
	}
	public void setStatusID(Status statusID) {
		this.statusID = statusID;
	}
	public ProjectMember getProjectMemberID() {
		return projectMemberID;
	}
	public void setProjectMemberID(ProjectMember projectMemberID) {
		this.projectMemberID = projectMemberID;
	}


}